package com.graduation.lastproject.util.shiro;

import org.apache.shiro.authc.UsernamePasswordToken;

public class LoginsToken extends UsernamePasswordToken {
    //logins type
    private String loginType;
    public LoginsToken(final String username,final String password,final String loginType){
        super(username,password);
        this.loginType=loginType;
    }
    public LoginsToken(final String username,final char[] password,
                       String loginType) {
        super(username, password);
        this.loginType=loginType;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }
}
